/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DataConverters.interfaces.dataformulaobject.impl;

import DataConverters.interfaces.dataformulaobject.intefaces.BooleanCell;
import DataConverters.interfaces.dataformulaobject.intefaces.CellType;

/**
 *
 * @author Nobody
 */
public class DefaultBooleanCell extends CommonDefaultCell implements BooleanCell {

    private boolean value;

    public DefaultBooleanCell(int column, int row, CellType cellType, boolean value) {
        super(column, row, cellType);
        this.value = value;
    }

    public boolean getValue() {
        return value;
    }

    public String getContents() {
        return Boolean.toString(value);
    }
}
